/**
 * Created by zhangkai on 2016/11/23.
 */
/**
 * Created by zhangkai on 2016/11/23.
 */

import {Component} from '@angular/core';

@Component({

    templateUrl: './login.component.html',
    //样式引入要转入String
    styleUrls: ['./login.component.css'.toString()]
})
export class LoginComponent {

    public username: string = '';
    public password: string = '';

    constructor() {

    }

    login(): void {

        alert(this.username);
    }
}
